package com.sxwl.entity;

import com.sxwl.view.GamePanel;

/**
 * 生成空的飞机？
 *
 */
public class ProductionEnemyPlane implements  Runnable {
    @Override
    public void run() {
       for(int i=0;i<8;i++){
           //在游戏面板加入空飞机
           GamePanel.enemyPlanes.add( new EnemyPlane());
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }


}
